package edu.umassd.raddacl.util;

import java.beans.PropertyEditorSupport;
import java.nio.file.Paths;

/**
 * Converts a string property to a Path.
 * 
 * @author Dan Avila
 * 
 */
public class StringToPath extends PropertyEditorSupport
{
	@Override
	public void setAsText(String text) throws IllegalArgumentException
	{
		setValue(Paths.get(text));
	}
}
